/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataStructures;

/**
 *
 * @author Manuel
 */
public class Parameters {

    private boolean info;
    private boolean source;
    private boolean bytec;
    private boolean bugs;


    public void parse(String parameters){
        this.info= false;
        this.source = false;
        this.bytec = false;
        this.bugs = false;
        if(parameters.contains("source"))
            this.source = true;
        if(parameters.contains("byte"))
            this.bytec = true;
        if(parameters.contains("bug"))
            this.source = true;
        if(parameters.contains("info"))
            this.bytec = true;

    }

    public boolean isBugs() {
        return bugs;
    }

    public void setBugs(boolean bugs) {
        this.bugs = bugs;
    }

    public boolean isBytec() {
        return bytec;
    }

    public void setBytec(boolean bytec) {
        this.bytec = bytec;
    }

    public boolean isInfo() {
        return info;
    }

    public void setInfo(boolean info) {
        this.info = info;
    }

    public boolean isSource() {
        return source;
    }

    public void setSource(boolean source) {
        this.source = source;
    }




}
